package com.tm.model;

import java.math.BigDecimal;

public class SpSpellGroup {
    private Integer spellId;

    private Integer skuId;

    private BigDecimal prePrice;

    private String spellTitle;

    private String spellAdvertOne;

    private String spellAdvertTwo;

    private String spellAdvertThree;

    private String spellDescribe;

    private String startDate;

    private String endDate;

    private Integer numPeop;

    private Integer nowSpellPeop;

    private String spellStatus;

    private String isStatus;

    private String remark;

    private String isDelete;

    private String addTime;

    private Integer addUserId;

    private String editTime;

    private Integer editUserId;

    public Integer getSpellId() {
        return spellId;
    }

    public void setSpellId(Integer spellId) {
        this.spellId = spellId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getPrePrice() {
        return prePrice;
    }

    public void setPrePrice(BigDecimal prePrice) {
        this.prePrice = prePrice;
    }

    public String getSpellTitle() {
        return spellTitle;
    }

    public void setSpellTitle(String spellTitle) {
        this.spellTitle = spellTitle;
    }

    public String getSpellAdvertOne() {
        return spellAdvertOne;
    }

    public void setSpellAdvertOne(String spellAdvertOne) {
        this.spellAdvertOne = spellAdvertOne;
    }

    public String getSpellAdvertTwo() {
        return spellAdvertTwo;
    }

    public void setSpellAdvertTwo(String spellAdvertTwo) {
        this.spellAdvertTwo = spellAdvertTwo;
    }

    public String getSpellAdvertThree() {
        return spellAdvertThree;
    }

    public void setSpellAdvertThree(String spellAdvertThree) {
        this.spellAdvertThree = spellAdvertThree;
    }

    public String getSpellDescribe() {
        return spellDescribe;
    }

    public void setSpellDescribe(String spellDescribe) {
        this.spellDescribe = spellDescribe;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getNumPeop() {
        return numPeop;
    }

    public void setNumPeop(Integer numPeop) {
        this.numPeop = numPeop;
    }

    public Integer getNowSpellPeop() {
        return nowSpellPeop;
    }

    public void setNowSpellPeop(Integer nowSpellPeop) {
        this.nowSpellPeop = nowSpellPeop;
    }

    public String getSpellStatus() {
        return spellStatus;
    }

    public void setSpellStatus(String spellStatus) {
        this.spellStatus = spellStatus;
    }

    public String getIsStatus() {
        return isStatus;
    }

    public void setIsStatus(String isStatus) {
        this.isStatus = isStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public String getEditTime() {
        return editTime;
    }

    public void setEditTime(String editTime) {
        this.editTime = editTime;
    }

    public Integer getEditUserId() {
        return editUserId;
    }

    public void setEditUserId(Integer editUserId) {
        this.editUserId = editUserId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SpSpellGroup other = (SpSpellGroup) that;
        return (this.getSpellId() == null ? other.getSpellId() == null : this.getSpellId().equals(other.getSpellId()))
            && (this.getSkuId() == null ? other.getSkuId() == null : this.getSkuId().equals(other.getSkuId()))
            && (this.getPrePrice() == null ? other.getPrePrice() == null : this.getPrePrice().equals(other.getPrePrice()))
            && (this.getSpellTitle() == null ? other.getSpellTitle() == null : this.getSpellTitle().equals(other.getSpellTitle()))
            && (this.getSpellAdvertOne() == null ? other.getSpellAdvertOne() == null : this.getSpellAdvertOne().equals(other.getSpellAdvertOne()))
            && (this.getSpellAdvertTwo() == null ? other.getSpellAdvertTwo() == null : this.getSpellAdvertTwo().equals(other.getSpellAdvertTwo()))
            && (this.getSpellAdvertThree() == null ? other.getSpellAdvertThree() == null : this.getSpellAdvertThree().equals(other.getSpellAdvertThree()))
            && (this.getSpellDescribe() == null ? other.getSpellDescribe() == null : this.getSpellDescribe().equals(other.getSpellDescribe()))
            && (this.getStartDate() == null ? other.getStartDate() == null : this.getStartDate().equals(other.getStartDate()))
            && (this.getEndDate() == null ? other.getEndDate() == null : this.getEndDate().equals(other.getEndDate()))
            && (this.getNumPeop() == null ? other.getNumPeop() == null : this.getNumPeop().equals(other.getNumPeop()))
            && (this.getNowSpellPeop() == null ? other.getNowSpellPeop() == null : this.getNowSpellPeop().equals(other.getNowSpellPeop()))
            && (this.getSpellStatus() == null ? other.getSpellStatus() == null : this.getSpellStatus().equals(other.getSpellStatus()))
            && (this.getIsStatus() == null ? other.getIsStatus() == null : this.getIsStatus().equals(other.getIsStatus()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getAddUserId() == null ? other.getAddUserId() == null : this.getAddUserId().equals(other.getAddUserId()))
            && (this.getEditTime() == null ? other.getEditTime() == null : this.getEditTime().equals(other.getEditTime()))
            && (this.getEditUserId() == null ? other.getEditUserId() == null : this.getEditUserId().equals(other.getEditUserId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSpellId() == null) ? 0 : getSpellId().hashCode());
        result = prime * result + ((getSkuId() == null) ? 0 : getSkuId().hashCode());
        result = prime * result + ((getPrePrice() == null) ? 0 : getPrePrice().hashCode());
        result = prime * result + ((getSpellTitle() == null) ? 0 : getSpellTitle().hashCode());
        result = prime * result + ((getSpellAdvertOne() == null) ? 0 : getSpellAdvertOne().hashCode());
        result = prime * result + ((getSpellAdvertTwo() == null) ? 0 : getSpellAdvertTwo().hashCode());
        result = prime * result + ((getSpellAdvertThree() == null) ? 0 : getSpellAdvertThree().hashCode());
        result = prime * result + ((getSpellDescribe() == null) ? 0 : getSpellDescribe().hashCode());
        result = prime * result + ((getStartDate() == null) ? 0 : getStartDate().hashCode());
        result = prime * result + ((getEndDate() == null) ? 0 : getEndDate().hashCode());
        result = prime * result + ((getNumPeop() == null) ? 0 : getNumPeop().hashCode());
        result = prime * result + ((getNowSpellPeop() == null) ? 0 : getNowSpellPeop().hashCode());
        result = prime * result + ((getSpellStatus() == null) ? 0 : getSpellStatus().hashCode());
        result = prime * result + ((getIsStatus() == null) ? 0 : getIsStatus().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getAddUserId() == null) ? 0 : getAddUserId().hashCode());
        result = prime * result + ((getEditTime() == null) ? 0 : getEditTime().hashCode());
        result = prime * result + ((getEditUserId() == null) ? 0 : getEditUserId().hashCode());
        return result;
    }
}